package org.hugoduncan.appam.config;

import org.apache.abdera.model.Collection;
import org.apache.abdera.model.Service;
import org.apache.abdera.model.Workspace;
import org.hugoduncan.appam.model.CollectionComponent;
import org.hugoduncan.appam.model.ServiceComponent;
import org.hugoduncan.appam.model.WorkspaceComponent;

/**
 * Interface for building Components from their Atom specifications
 * @author duncanhugo
 *
 */
public interface ComponentFactory
{
    ServiceComponent construct(Service service);
    WorkspaceComponent construct(Workspace workspace);
    CollectionComponent construct(Collection collection);
}
